package edu.xmut.yuepaibackend.model.form;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@NoArgsConstructor
@Data
public class BlogPublishForm {

    private String title;
    private String content;
    private BigDecimal longitude;
    private BigDecimal latitude;
    private String address;
    private String fullAddress;
    private List<String> imageIds;
    private List<TagsDTO> tags;

    @NoArgsConstructor
    @Data
    public static class TagsDTO {
        private Long id;
        private String content;
    }
}
